package com.cxz.food.dao;

import com.cxz.food.domain.Business;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BusinessMapper {

    /**
     * 获取所有商家列表
     * @return
     */
    List<Business> getBusinessList();

    void addBusiness(Business business);

    Business getBusinessByName(String username);

}
